package com.sudingke.dish;

import android.app.Application;

public class SupeMenu extends Application {
    final public static int LANG_CHINESE = 1;
    final public static int LANG_ENGLISH = 2;
    final public static int LANG_JAPANESE = 3;
    final public static int LANG_KOREAN = 4;

    private static int curLanguage = 0;
    
    public static void setCurLanguage(int lang) {
	if (lang >= 1 && lang <= 4)
	    curLanguage = lang;
	else
	    curLanguage = LANG_CHINESE;
    }

    public static int getCurLanguage() {
	if (curLanguage >= 1 && curLanguage <= 4)
	    return curLanguage;
	else
	    return LANG_CHINESE;
    }
}
